package net.office.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class StaffResumeExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StaffResumeExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andStaffResumeIdIsNull() {
            addCriterion("staff_resume_Id is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeIdIsNotNull() {
            addCriterion("staff_resume_Id is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeIdEqualTo(Integer value) {
            addCriterion("staff_resume_Id =", value, "staffResumeId");
            return (Criteria) this;
        }

        public Criteria andStaffResumeIdNotEqualTo(Integer value) {
            addCriterion("staff_resume_Id <>", value, "staffResumeId");
            return (Criteria) this;
        }

        public Criteria andStaffResumeIdGreaterThan(Integer value) {
            addCriterion("staff_resume_Id >", value, "staffResumeId");
            return (Criteria) this;
        }

        public Criteria andStaffResumeIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("staff_resume_Id >=", value, "staffResumeId");
            return (Criteria) this;
        }

        public Criteria andStaffResumeIdLessThan(Integer value) {
            addCriterion("staff_resume_Id <", value, "staffResumeId");
            return (Criteria) this;
        }

        public Criteria andStaffResumeIdLessThanOrEqualTo(Integer value) {
            addCriterion("staff_resume_Id <=", value, "staffResumeId");
            return (Criteria) this;
        }

        public Criteria andStaffResumeIdIn(List<Integer> values) {
            addCriterion("staff_resume_Id in", values, "staffResumeId");
            return (Criteria) this;
        }

        public Criteria andStaffResumeIdNotIn(List<Integer> values) {
            addCriterion("staff_resume_Id not in", values, "staffResumeId");
            return (Criteria) this;
        }

        public Criteria andStaffResumeIdBetween(Integer value1, Integer value2) {
            addCriterion("staff_resume_Id between", value1, value2, "staffResumeId");
            return (Criteria) this;
        }

        public Criteria andStaffResumeIdNotBetween(Integer value1, Integer value2) {
            addCriterion("staff_resume_Id not between", value1, value2, "staffResumeId");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoIsNull() {
            addCriterion("staff_resume_photo is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoIsNotNull() {
            addCriterion("staff_resume_photo is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoEqualTo(String value) {
            addCriterion("staff_resume_photo =", value, "staffResumePhoto");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoNotEqualTo(String value) {
            addCriterion("staff_resume_photo <>", value, "staffResumePhoto");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoGreaterThan(String value) {
            addCriterion("staff_resume_photo >", value, "staffResumePhoto");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoGreaterThanOrEqualTo(String value) {
            addCriterion("staff_resume_photo >=", value, "staffResumePhoto");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoLessThan(String value) {
            addCriterion("staff_resume_photo <", value, "staffResumePhoto");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoLessThanOrEqualTo(String value) {
            addCriterion("staff_resume_photo <=", value, "staffResumePhoto");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoLike(String value) {
            addCriterion("staff_resume_photo like", value, "staffResumePhoto");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoNotLike(String value) {
            addCriterion("staff_resume_photo not like", value, "staffResumePhoto");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoIn(List<String> values) {
            addCriterion("staff_resume_photo in", values, "staffResumePhoto");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoNotIn(List<String> values) {
            addCriterion("staff_resume_photo not in", values, "staffResumePhoto");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoBetween(String value1, String value2) {
            addCriterion("staff_resume_photo between", value1, value2, "staffResumePhoto");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhotoNotBetween(String value1, String value2) {
            addCriterion("staff_resume_photo not between", value1, value2, "staffResumePhoto");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameIsNull() {
            addCriterion("staff_resume_name is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameIsNotNull() {
            addCriterion("staff_resume_name is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameEqualTo(String value) {
            addCriterion("staff_resume_name =", value, "staffResumeName");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameNotEqualTo(String value) {
            addCriterion("staff_resume_name <>", value, "staffResumeName");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameGreaterThan(String value) {
            addCriterion("staff_resume_name >", value, "staffResumeName");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameGreaterThanOrEqualTo(String value) {
            addCriterion("staff_resume_name >=", value, "staffResumeName");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameLessThan(String value) {
            addCriterion("staff_resume_name <", value, "staffResumeName");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameLessThanOrEqualTo(String value) {
            addCriterion("staff_resume_name <=", value, "staffResumeName");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameLike(String value) {
            addCriterion("staff_resume_name like", value, "staffResumeName");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameNotLike(String value) {
            addCriterion("staff_resume_name not like", value, "staffResumeName");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameIn(List<String> values) {
            addCriterion("staff_resume_name in", values, "staffResumeName");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameNotIn(List<String> values) {
            addCriterion("staff_resume_name not in", values, "staffResumeName");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameBetween(String value1, String value2) {
            addCriterion("staff_resume_name between", value1, value2, "staffResumeName");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNameNotBetween(String value1, String value2) {
            addCriterion("staff_resume_name not between", value1, value2, "staffResumeName");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexIsNull() {
            addCriterion("staff_resume_sex is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexIsNotNull() {
            addCriterion("staff_resume_sex is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexEqualTo(String value) {
            addCriterion("staff_resume_sex =", value, "staffResumeSex");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexNotEqualTo(String value) {
            addCriterion("staff_resume_sex <>", value, "staffResumeSex");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexGreaterThan(String value) {
            addCriterion("staff_resume_sex >", value, "staffResumeSex");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexGreaterThanOrEqualTo(String value) {
            addCriterion("staff_resume_sex >=", value, "staffResumeSex");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexLessThan(String value) {
            addCriterion("staff_resume_sex <", value, "staffResumeSex");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexLessThanOrEqualTo(String value) {
            addCriterion("staff_resume_sex <=", value, "staffResumeSex");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexLike(String value) {
            addCriterion("staff_resume_sex like", value, "staffResumeSex");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexNotLike(String value) {
            addCriterion("staff_resume_sex not like", value, "staffResumeSex");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexIn(List<String> values) {
            addCriterion("staff_resume_sex in", values, "staffResumeSex");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexNotIn(List<String> values) {
            addCriterion("staff_resume_sex not in", values, "staffResumeSex");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexBetween(String value1, String value2) {
            addCriterion("staff_resume_sex between", value1, value2, "staffResumeSex");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSexNotBetween(String value1, String value2) {
            addCriterion("staff_resume_sex not between", value1, value2, "staffResumeSex");
            return (Criteria) this;
        }

        public Criteria andStaffResumeBirthdayIsNull() {
            addCriterion("staff_resume_birthday is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeBirthdayIsNotNull() {
            addCriterion("staff_resume_birthday is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeBirthdayEqualTo(Date value) {
            addCriterionForJDBCDate("staff_resume_birthday =", value, "staffResumeBirthday");
            return (Criteria) this;
        }

        public Criteria andStaffResumeBirthdayNotEqualTo(Date value) {
            addCriterionForJDBCDate("staff_resume_birthday <>", value, "staffResumeBirthday");
            return (Criteria) this;
        }

        public Criteria andStaffResumeBirthdayGreaterThan(Date value) {
            addCriterionForJDBCDate("staff_resume_birthday >", value, "staffResumeBirthday");
            return (Criteria) this;
        }

        public Criteria andStaffResumeBirthdayGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("staff_resume_birthday >=", value, "staffResumeBirthday");
            return (Criteria) this;
        }

        public Criteria andStaffResumeBirthdayLessThan(Date value) {
            addCriterionForJDBCDate("staff_resume_birthday <", value, "staffResumeBirthday");
            return (Criteria) this;
        }

        public Criteria andStaffResumeBirthdayLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("staff_resume_birthday <=", value, "staffResumeBirthday");
            return (Criteria) this;
        }

        public Criteria andStaffResumeBirthdayIn(List<Date> values) {
            addCriterionForJDBCDate("staff_resume_birthday in", values, "staffResumeBirthday");
            return (Criteria) this;
        }

        public Criteria andStaffResumeBirthdayNotIn(List<Date> values) {
            addCriterionForJDBCDate("staff_resume_birthday not in", values, "staffResumeBirthday");
            return (Criteria) this;
        }

        public Criteria andStaffResumeBirthdayBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("staff_resume_birthday between", value1, value2, "staffResumeBirthday");
            return (Criteria) this;
        }

        public Criteria andStaffResumeBirthdayNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("staff_resume_birthday not between", value1, value2, "staffResumeBirthday");
            return (Criteria) this;
        }

        public Criteria andStaffResumePolicyIsNull() {
            addCriterion("staff_resume_policy is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumePolicyIsNotNull() {
            addCriterion("staff_resume_policy is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumePolicyEqualTo(Integer value) {
            addCriterion("staff_resume_policy =", value, "staffResumePolicy");
            return (Criteria) this;
        }

        public Criteria andStaffResumePolicyNotEqualTo(Integer value) {
            addCriterion("staff_resume_policy <>", value, "staffResumePolicy");
            return (Criteria) this;
        }

        public Criteria andStaffResumePolicyGreaterThan(Integer value) {
            addCriterion("staff_resume_policy >", value, "staffResumePolicy");
            return (Criteria) this;
        }

        public Criteria andStaffResumePolicyGreaterThanOrEqualTo(Integer value) {
            addCriterion("staff_resume_policy >=", value, "staffResumePolicy");
            return (Criteria) this;
        }

        public Criteria andStaffResumePolicyLessThan(Integer value) {
            addCriterion("staff_resume_policy <", value, "staffResumePolicy");
            return (Criteria) this;
        }

        public Criteria andStaffResumePolicyLessThanOrEqualTo(Integer value) {
            addCriterion("staff_resume_policy <=", value, "staffResumePolicy");
            return (Criteria) this;
        }

        public Criteria andStaffResumePolicyIn(List<Integer> values) {
            addCriterion("staff_resume_policy in", values, "staffResumePolicy");
            return (Criteria) this;
        }

        public Criteria andStaffResumePolicyNotIn(List<Integer> values) {
            addCriterion("staff_resume_policy not in", values, "staffResumePolicy");
            return (Criteria) this;
        }

        public Criteria andStaffResumePolicyBetween(Integer value1, Integer value2) {
            addCriterion("staff_resume_policy between", value1, value2, "staffResumePolicy");
            return (Criteria) this;
        }

        public Criteria andStaffResumePolicyNotBetween(Integer value1, Integer value2) {
            addCriterion("staff_resume_policy not between", value1, value2, "staffResumePolicy");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNationIsNull() {
            addCriterion("staff_resume_nation is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNationIsNotNull() {
            addCriterion("staff_resume_nation is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNationEqualTo(Integer value) {
            addCriterion("staff_resume_nation =", value, "staffResumeNation");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNationNotEqualTo(Integer value) {
            addCriterion("staff_resume_nation <>", value, "staffResumeNation");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNationGreaterThan(Integer value) {
            addCriterion("staff_resume_nation >", value, "staffResumeNation");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNationGreaterThanOrEqualTo(Integer value) {
            addCriterion("staff_resume_nation >=", value, "staffResumeNation");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNationLessThan(Integer value) {
            addCriterion("staff_resume_nation <", value, "staffResumeNation");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNationLessThanOrEqualTo(Integer value) {
            addCriterion("staff_resume_nation <=", value, "staffResumeNation");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNationIn(List<Integer> values) {
            addCriterion("staff_resume_nation in", values, "staffResumeNation");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNationNotIn(List<Integer> values) {
            addCriterion("staff_resume_nation not in", values, "staffResumeNation");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNationBetween(Integer value1, Integer value2) {
            addCriterion("staff_resume_nation between", value1, value2, "staffResumeNation");
            return (Criteria) this;
        }

        public Criteria andStaffResumeNationNotBetween(Integer value1, Integer value2) {
            addCriterion("staff_resume_nation not between", value1, value2, "staffResumeNation");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneIsNull() {
            addCriterion("staff_resume_phone is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneIsNotNull() {
            addCriterion("staff_resume_phone is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneEqualTo(String value) {
            addCriterion("staff_resume_phone =", value, "staffResumePhone");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneNotEqualTo(String value) {
            addCriterion("staff_resume_phone <>", value, "staffResumePhone");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneGreaterThan(String value) {
            addCriterion("staff_resume_phone >", value, "staffResumePhone");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneGreaterThanOrEqualTo(String value) {
            addCriterion("staff_resume_phone >=", value, "staffResumePhone");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneLessThan(String value) {
            addCriterion("staff_resume_phone <", value, "staffResumePhone");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneLessThanOrEqualTo(String value) {
            addCriterion("staff_resume_phone <=", value, "staffResumePhone");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneLike(String value) {
            addCriterion("staff_resume_phone like", value, "staffResumePhone");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneNotLike(String value) {
            addCriterion("staff_resume_phone not like", value, "staffResumePhone");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneIn(List<String> values) {
            addCriterion("staff_resume_phone in", values, "staffResumePhone");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneNotIn(List<String> values) {
            addCriterion("staff_resume_phone not in", values, "staffResumePhone");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneBetween(String value1, String value2) {
            addCriterion("staff_resume_phone between", value1, value2, "staffResumePhone");
            return (Criteria) this;
        }

        public Criteria andStaffResumePhoneNotBetween(String value1, String value2) {
            addCriterion("staff_resume_phone not between", value1, value2, "staffResumePhone");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailIsNull() {
            addCriterion("staff_resume_email is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailIsNotNull() {
            addCriterion("staff_resume_email is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailEqualTo(String value) {
            addCriterion("staff_resume_email =", value, "staffResumeEmail");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailNotEqualTo(String value) {
            addCriterion("staff_resume_email <>", value, "staffResumeEmail");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailGreaterThan(String value) {
            addCriterion("staff_resume_email >", value, "staffResumeEmail");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailGreaterThanOrEqualTo(String value) {
            addCriterion("staff_resume_email >=", value, "staffResumeEmail");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailLessThan(String value) {
            addCriterion("staff_resume_email <", value, "staffResumeEmail");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailLessThanOrEqualTo(String value) {
            addCriterion("staff_resume_email <=", value, "staffResumeEmail");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailLike(String value) {
            addCriterion("staff_resume_email like", value, "staffResumeEmail");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailNotLike(String value) {
            addCriterion("staff_resume_email not like", value, "staffResumeEmail");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailIn(List<String> values) {
            addCriterion("staff_resume_email in", values, "staffResumeEmail");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailNotIn(List<String> values) {
            addCriterion("staff_resume_email not in", values, "staffResumeEmail");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailBetween(String value1, String value2) {
            addCriterion("staff_resume_email between", value1, value2, "staffResumeEmail");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEmailNotBetween(String value1, String value2) {
            addCriterion("staff_resume_email not between", value1, value2, "staffResumeEmail");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduIsNull() {
            addCriterion("staff_resume_edu is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduIsNotNull() {
            addCriterion("staff_resume_edu is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduEqualTo(Integer value) {
            addCriterion("staff_resume_edu =", value, "staffResumeEdu");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduNotEqualTo(Integer value) {
            addCriterion("staff_resume_edu <>", value, "staffResumeEdu");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduGreaterThan(Integer value) {
            addCriterion("staff_resume_edu >", value, "staffResumeEdu");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduGreaterThanOrEqualTo(Integer value) {
            addCriterion("staff_resume_edu >=", value, "staffResumeEdu");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduLessThan(Integer value) {
            addCriterion("staff_resume_edu <", value, "staffResumeEdu");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduLessThanOrEqualTo(Integer value) {
            addCriterion("staff_resume_edu <=", value, "staffResumeEdu");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduIn(List<Integer> values) {
            addCriterion("staff_resume_edu in", values, "staffResumeEdu");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduNotIn(List<Integer> values) {
            addCriterion("staff_resume_edu not in", values, "staffResumeEdu");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBetween(Integer value1, Integer value2) {
            addCriterion("staff_resume_edu between", value1, value2, "staffResumeEdu");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduNotBetween(Integer value1, Integer value2) {
            addCriterion("staff_resume_edu not between", value1, value2, "staffResumeEdu");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgIsNull() {
            addCriterion("staff_resume_edu_bg is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgIsNotNull() {
            addCriterion("staff_resume_edu_bg is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgEqualTo(String value) {
            addCriterion("staff_resume_edu_bg =", value, "staffResumeEduBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgNotEqualTo(String value) {
            addCriterion("staff_resume_edu_bg <>", value, "staffResumeEduBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgGreaterThan(String value) {
            addCriterion("staff_resume_edu_bg >", value, "staffResumeEduBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgGreaterThanOrEqualTo(String value) {
            addCriterion("staff_resume_edu_bg >=", value, "staffResumeEduBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgLessThan(String value) {
            addCriterion("staff_resume_edu_bg <", value, "staffResumeEduBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgLessThanOrEqualTo(String value) {
            addCriterion("staff_resume_edu_bg <=", value, "staffResumeEduBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgLike(String value) {
            addCriterion("staff_resume_edu_bg like", value, "staffResumeEduBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgNotLike(String value) {
            addCriterion("staff_resume_edu_bg not like", value, "staffResumeEduBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgIn(List<String> values) {
            addCriterion("staff_resume_edu_bg in", values, "staffResumeEduBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgNotIn(List<String> values) {
            addCriterion("staff_resume_edu_bg not in", values, "staffResumeEduBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgBetween(String value1, String value2) {
            addCriterion("staff_resume_edu_bg between", value1, value2, "staffResumeEduBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeEduBgNotBetween(String value1, String value2) {
            addCriterion("staff_resume_edu_bg not between", value1, value2, "staffResumeEduBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgIsNull() {
            addCriterion("staff_resume_work_bg is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgIsNotNull() {
            addCriterion("staff_resume_work_bg is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgEqualTo(String value) {
            addCriterion("staff_resume_work_bg =", value, "staffResumeWorkBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgNotEqualTo(String value) {
            addCriterion("staff_resume_work_bg <>", value, "staffResumeWorkBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgGreaterThan(String value) {
            addCriterion("staff_resume_work_bg >", value, "staffResumeWorkBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgGreaterThanOrEqualTo(String value) {
            addCriterion("staff_resume_work_bg >=", value, "staffResumeWorkBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgLessThan(String value) {
            addCriterion("staff_resume_work_bg <", value, "staffResumeWorkBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgLessThanOrEqualTo(String value) {
            addCriterion("staff_resume_work_bg <=", value, "staffResumeWorkBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgLike(String value) {
            addCriterion("staff_resume_work_bg like", value, "staffResumeWorkBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgNotLike(String value) {
            addCriterion("staff_resume_work_bg not like", value, "staffResumeWorkBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgIn(List<String> values) {
            addCriterion("staff_resume_work_bg in", values, "staffResumeWorkBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgNotIn(List<String> values) {
            addCriterion("staff_resume_work_bg not in", values, "staffResumeWorkBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgBetween(String value1, String value2) {
            addCriterion("staff_resume_work_bg between", value1, value2, "staffResumeWorkBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeWorkBgNotBetween(String value1, String value2) {
            addCriterion("staff_resume_work_bg not between", value1, value2, "staffResumeWorkBg");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListIsNull() {
            addCriterion("staff_resume_skill_list is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListIsNotNull() {
            addCriterion("staff_resume_skill_list is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListEqualTo(String value) {
            addCriterion("staff_resume_skill_list =", value, "staffResumeSkillList");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListNotEqualTo(String value) {
            addCriterion("staff_resume_skill_list <>", value, "staffResumeSkillList");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListGreaterThan(String value) {
            addCriterion("staff_resume_skill_list >", value, "staffResumeSkillList");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListGreaterThanOrEqualTo(String value) {
            addCriterion("staff_resume_skill_list >=", value, "staffResumeSkillList");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListLessThan(String value) {
            addCriterion("staff_resume_skill_list <", value, "staffResumeSkillList");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListLessThanOrEqualTo(String value) {
            addCriterion("staff_resume_skill_list <=", value, "staffResumeSkillList");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListLike(String value) {
            addCriterion("staff_resume_skill_list like", value, "staffResumeSkillList");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListNotLike(String value) {
            addCriterion("staff_resume_skill_list not like", value, "staffResumeSkillList");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListIn(List<String> values) {
            addCriterion("staff_resume_skill_list in", values, "staffResumeSkillList");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListNotIn(List<String> values) {
            addCriterion("staff_resume_skill_list not in", values, "staffResumeSkillList");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListBetween(String value1, String value2) {
            addCriterion("staff_resume_skill_list between", value1, value2, "staffResumeSkillList");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSkillListNotBetween(String value1, String value2) {
            addCriterion("staff_resume_skill_list not between", value1, value2, "staffResumeSkillList");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceIsNull() {
            addCriterion("staff_resume_self_introduce is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceIsNotNull() {
            addCriterion("staff_resume_self_introduce is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceEqualTo(String value) {
            addCriterion("staff_resume_self_introduce =", value, "staffResumeSelfIntroduce");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceNotEqualTo(String value) {
            addCriterion("staff_resume_self_introduce <>", value, "staffResumeSelfIntroduce");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceGreaterThan(String value) {
            addCriterion("staff_resume_self_introduce >", value, "staffResumeSelfIntroduce");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceGreaterThanOrEqualTo(String value) {
            addCriterion("staff_resume_self_introduce >=", value, "staffResumeSelfIntroduce");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceLessThan(String value) {
            addCriterion("staff_resume_self_introduce <", value, "staffResumeSelfIntroduce");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceLessThanOrEqualTo(String value) {
            addCriterion("staff_resume_self_introduce <=", value, "staffResumeSelfIntroduce");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceLike(String value) {
            addCriterion("staff_resume_self_introduce like", value, "staffResumeSelfIntroduce");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceNotLike(String value) {
            addCriterion("staff_resume_self_introduce not like", value, "staffResumeSelfIntroduce");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceIn(List<String> values) {
            addCriterion("staff_resume_self_introduce in", values, "staffResumeSelfIntroduce");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceNotIn(List<String> values) {
            addCriterion("staff_resume_self_introduce not in", values, "staffResumeSelfIntroduce");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceBetween(String value1, String value2) {
            addCriterion("staff_resume_self_introduce between", value1, value2, "staffResumeSelfIntroduce");
            return (Criteria) this;
        }

        public Criteria andStaffResumeSelfIntroduceNotBetween(String value1, String value2) {
            addCriterion("staff_resume_self_introduce not between", value1, value2, "staffResumeSelfIntroduce");
            return (Criteria) this;
        }

        public Criteria andStaffResumeResultIsNull() {
            addCriterion("staff_resume_result is null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeResultIsNotNull() {
            addCriterion("staff_resume_result is not null");
            return (Criteria) this;
        }

        public Criteria andStaffResumeResultEqualTo(Integer value) {
            addCriterion("staff_resume_result =", value, "staffResumeResult");
            return (Criteria) this;
        }

        public Criteria andStaffResumeResultNotEqualTo(Integer value) {
            addCriterion("staff_resume_result <>", value, "staffResumeResult");
            return (Criteria) this;
        }

        public Criteria andStaffResumeResultGreaterThan(Integer value) {
            addCriterion("staff_resume_result >", value, "staffResumeResult");
            return (Criteria) this;
        }

        public Criteria andStaffResumeResultGreaterThanOrEqualTo(Integer value) {
            addCriterion("staff_resume_result >=", value, "staffResumeResult");
            return (Criteria) this;
        }

        public Criteria andStaffResumeResultLessThan(Integer value) {
            addCriterion("staff_resume_result <", value, "staffResumeResult");
            return (Criteria) this;
        }

        public Criteria andStaffResumeResultLessThanOrEqualTo(Integer value) {
            addCriterion("staff_resume_result <=", value, "staffResumeResult");
            return (Criteria) this;
        }

        public Criteria andStaffResumeResultIn(List<Integer> values) {
            addCriterion("staff_resume_result in", values, "staffResumeResult");
            return (Criteria) this;
        }

        public Criteria andStaffResumeResultNotIn(List<Integer> values) {
            addCriterion("staff_resume_result not in", values, "staffResumeResult");
            return (Criteria) this;
        }

        public Criteria andStaffResumeResultBetween(Integer value1, Integer value2) {
            addCriterion("staff_resume_result between", value1, value2, "staffResumeResult");
            return (Criteria) this;
        }

        public Criteria andStaffResumeResultNotBetween(Integer value1, Integer value2) {
            addCriterion("staff_resume_result not between", value1, value2, "staffResumeResult");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}